home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990422-19990725
/
000197_news@columbia.edu _Mon Jun 21 19:46:57 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA25113
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 21 Jun 1999 19:46:56 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA29598
for kermit.misc@watsun.cc.columbia.edu; Mon, 21 Jun 1999 17:23:20 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
Message-ID: <376EAC1A.E2E7C8F5@asares.com>
From: Brian Corcoran <corcoran@asares.com>
Subject: Re: kerbang parameters not passed?
Date: Mon, 21 Jun 1999 17:18:18 -0400
Organization: NETPLEX Internet Services - http://www.ntplx.net/
To: kermit.misc@columbia.edu
Thanks for the tip -- the '+' solved the problem.
However, I'm curious why it did. None of the docs mention it; is it a new
kermit 7.0.195 feature? The sample CKEPAGE.KSC doesn't even have it (and seems
to not work as a result).
-Brian
Jeffrey Altman wrote:
> In article <376E6B68.5B08EB3C@asares.com>,
> Brian Corcoran <corcoran@asares.com> wrote:
> : Hi,
> :
> : I'm trying to set up a c-kermit script to run from the command line
> : (using the #! notation), but I can't get parameters passed to it. I'm
> : using c-kermit 7.0.195 b7 on Linux 2.2.10.
> :
> : For example, when I run the following script (kerbang-test.ksc hello
> : 1234) from the command line:
> :
> : #!/usr/local/bin/kermit
> : echo begin
> : echo \%0
> : echo \%1
> : echo \%2
> : echo end
> : end
>
> The kerbang script must look like:
>
> #!/usr/local/bin/kermit +
> echo begin
> echo \%0
> echo \%1
> echo \%2
> echo end
> end
>
> Notice the '+' after the path to the executable.
>
> Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
> The Kermit Project * Columbia University
> 612 West 115th St #716 * New York, NY * 10025
> http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org